import request from '@/utils/request'

export function empList() {
  return request({
    url: '/emp/list',
    method: 'get'
  })
}

export function empPage(params) {
    return request({
      url: '/emp/page',
      method: 'get',
      params
    })
  }

export function empDelete(id) {
    return request({
      url: '/emp/delete',
      method: 'get',
      params: { id }
    })
  }